|
|
Tom Melly wrote:
>
> With the following shape, I want to flatten the point on the left side and
> sharpen the point on the right side - any suggestions how to do this?
>
I must say this function seems rather obscure to me, but how about:
function {
(-(x+3)/7+abs((x+3)/16))^2
+ (y-abs(y/4))^2
+ (z/3)^2
- 1
}
I personally would use a combination of two ellipsoid functions rather
than this.
something like:
#declare fn_ellipsoid=
function {
sqrt(x^2 + y^2 + z^2)-1
}
isosurface{
function {
(fn_ellipsoid(x*1.0, y, z)) |
(fn_ellipsoid(x*0.2, y, z) & (-x))
}
...
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|